pg_pconnect - ?? - Mailing list pgsql-php

From Chris Ruprecht
Subject pg_pconnect - ??
Date
Msg-id p0510120cb87b23a62b3d@[192.168.0.6]
Whole thread Raw
Responses Re: pg_pconnect - ??  (Chris Thompson <thompson@lightershade.com>)
Re: pg_pconnect - ??  (Frank Bax <fbax@sympatico.ca>)
Re: pg_pconnect - ??  (Chadwick Rolfs <cmr@shell.gis.net>)
List pgsql-php
Hi all,

I am under the assumtion that, when I do a pg_pconnect instead of a
pg_connect, the connection to the db I have established, can be used
by another PHP procedure. Somehow, I don't see this working the way I
expect it.
When I initially connect with pconnect, I see a postgres session
staring up and everything works. The postgres process stays active
but when I pconnect again, a second process is started. I was
expecting that the same process from the first pconnect will be used.
At the end, I land up with a whole bunch of postgres client sessions
hanging around in the system, doing who knows what.

What am I missing (doing wrong) here?
Postgres = 7.1.3, OS = Linux 2.4.9 (RedHat 7.2), PHP = 4.0.6, Apache
= 1.3.22, memory = plenty (768 MB)

Best regards,
Chris
--
Chris Ruprecht
Network grunt and bit pusher extraordinaíre

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


pgsql-php by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: Long running queries and timeouts
Next
From: Chris Thompson
Date:
Subject: Re: pg_pconnect - ??